from django.urls import path
from rest_framework.routers import SimpleRouter
from cake import views
urlpatterns = [
    path('cake/',views.CakeView.as_view() ),
    path('banner/',views.BannerView.as_view() ),
    path('detial/',views.DetialCakeView.as_view() ),
    path('taste/',views.TasteView.as_view() ),
    path('find/',views.FinderView.as_view() ),
    path('single/',views.SingleCake.as_view() ),
]
router = SimpleRouter()
router.register("cate",views.CateView)
# router.register("taste",views.TasteView)
urlpatterns += router.urls